package com.aaa.hospital.nurse.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TheWardDB {
        private String name;
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private Date birthday;
        private String sex;
        private String phone;
        private Integer ksid;
        private Integer bfid;
        private Integer bedid;
        private Integer uid;

}
